import 'package:boss/textStyle/text_style.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class TimeRow extends StatelessWidget {
  final String time;

  const TimeRow(this.time, {Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.only(
        bottom: 30.w,
      ),
      child: RichText(
        text: TextSpan(
          text: '查询日期：',
          style: TextStyleConstant().normal_2_26,
          children: [
            TextSpan(text: '$time', style: TextStyleConstant().normal_1_26),
          ],
        ),
      ),
    );
  }
}
